Component({

    properties: {
        like: Boolean,
        count: Number,
    },


    data: {
        likeImg: "./images/like.png",
        disLikeImg: "./images/likeDis.png"
    },


    methods: {
        onTabLike() {
            let status = this.properties.like
            let count = this.properties.count
            this.triggerEvent('like', {
                status,count
            })
        }
    }
})